package com.linzt.candy.common.security.annotation;

import org.springframework.cloud.openfeign.EnableFeignClients;
import java.lang.annotation.*;

/**
 * @Author: linzt
 * @Datetime: 2020/11/13 9:08
 * @Description: 自定义feign注解,添加basePackages路径
 * @Version: 1.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableFeignClients
public @interface EnableCandyFeignClients {

    String[] value() default {};

    String[] basePackages() default { "com.linzt" };

    Class<?>[] basePackageClasses() default {};

    Class<?>[] defaultConfiguration() default {};

    Class<?>[] clients() default {};
}
